[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api023.nas"]

    GLOBAL _api_fseek

[SECTION .text]

_api_fseek:        ; void api_fseek(int fhandle, int offset, int mode);
    push ebx
    mov edx, 23
    mov eax, [esp+8]    ; fhandle
    mov ebx, [esp+12]   ; offset
    mov ecx, [esp+16]   ; mode
    int 40h
    pop ebx
    ret
